package com.appcenter.application.mapper;

import com.appcenter.application.dto.permissiongrouprelations.PermissionGroupRelationDto;
import com.appcenter.application.model.PermissionGroupRelations;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@org.apache.ibatis.annotations.Mapper
@Repository
public interface PermissionGroupRelationsMapper extends Mapper<PermissionGroupRelations> {

    @Select("select * from  permissiongrouprelations  where  permissiongroupId=#{permissiongroupId} ")
    public List<PermissionGroupRelationDto> getPermissionGroupRelationByGroupId(String permissiongroupId);
}
